lcWndWaitPoint2 Home

Waits until user pick a point on a screen. While user moving a mouse, until a left button click, the function calls the function pFunc of the following syntax

void _stdcall Func (int Prm, HANDLE hLcWnd);


 BOOL lcWndWaitPoint2 (
   HANDLE hLcWnd,
   LPCWSTR szText,
   double* pXdrw,
   double* pYdrw,
   F_WAITPOINT pFunc,
   int FuncPrm
 );

Parameters
hLcWnd
  Handle to LiteCAD graphics window.
szText
  Text that will be displayed near cursor.
pXdrw pYdrw
  Pointers to variables that will receive drawing's coordinates of the point picked by user.
pFunc
  Pointer to the function, which will be called while user moving a mouse.
Specify NULL if the function is not used.
FuncPrm
  Application-defined parameter that will be passed to the function pFunc.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

See Also

  Code sample